package com.zgz.underwrite.dao;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

public interface BaseDao<T> {
	public void save(Object entity) throws Exception;
	public void delete(Object entity)throws Exception;
	public void update(Object entity)throws Exception;
	public T get(Serializable pk)throws Exception; 
	public List<T> getAll()throws Exception;
	public void deleteAll(Collection<?> c) throws Exception;
}
